package com.sy.vo;

import com.sy.pojo.Coursedetail;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
@ApiModel(description = "用户端课程详情查询返回的数据格式")
public class CourseDetailVO implements Serializable {
    @ApiModelProperty(name = "cid",value = "课程的id")
    private Integer cid;//课程id
    //课程名称
    @ApiModelProperty("课程名称")
    private String courseName;
    //课程介绍
    @ApiModelProperty("课程介绍")
    private String descs;
    //课程类型
    @ApiModelProperty("课程类型")
    private String typeName;
    //课程封面
    @ApiModelProperty("课程封面")
    private String courseImage;
    //课程视频封面
    @ApiModelProperty("课程视频封面")
    private String courseVideo;
    //课程价格
    @ApiModelProperty("课程价格")
    private double coursePrice;
    //课程对应的课程明细
    @ApiModelProperty("课程对应的课程明细")
    List<Coursedetail> coursedetailList;

}
